PHP Completions Kit
PHP completions for Sublime Text.
Details
Installs
- Total 106K
- Win 67K
- Mac 18K
- Linux 21K
| Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 1 | 1 | 2 | 0 | 0 | 1 | 2 | 5 | 5 | 2 | 1 | 2 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 2 | 1 | 3 | 0 | 2 | 0 | 3 | 1 | 4 | 1 | 1 | 0 | 2 | 0 | 1 | 0 | 3 | 2 | 1 | 0 | 4 | 1 | 6 | 1 | 5 | 5 |
| Mac | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 3 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 2 | 0 | 1 | 1 |
| Linux | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 2 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 2 | 2 | 1 | 1 | 3 | 0 | 1 | 0 | 0 | 3 | 1 | 1 | 1 | 2 | 1 | 0 | 0 | 3 | 0 | 0 | 0 | 3 |
Readme
- Source
- raw.githubusercontent.com
PHP Completions Kit
PHP completions for Sublime Text.
✨ Features
- 🔥 PHP
>= 8.2 - ⚡ Scoped to minimise auto-complete noise.
- 🚀 Language constructs, methods, constants, functions, type hints including classes, interfaces, and exceptions.
- 📦 Supported extensions:
bcmath,bz2,calendar,Core,ctype,curl,date,dom,ereg,exif,fileinfo,filter,ftp,gd,gettext,hash,iconv,intl,json,libxml,mbstring,mhash,mysql,mysqli,mysqlnd,openssl,pcntl,pcre,PDO,pdo_mysql,pdo_sqlite,Phar,posix,readline,Reflection,session,shmop,SimpleXML,soap,sockets,SPL,sqlite3,standard,sysvmsg,sysvsem,sysvshm,tidy,tokenizer,wddx,xdebug,xml,xmlreader,xmlrpc,xmlwriter,xsl,Zend,OPcache,zip,zlib
Installation
Package Control installation
The preferred method of installation is Package Control.
Manual installation
Close Sublime Text, then download or clone this repository to a directory named PHP Completions Kit in the Sublime Text Packages directory for your platform:
- Linux:
git clone https://github.com/gerardroche/sublime-phpck.git ~/.config/sublime-text-3/Packages/PHP Completions Kit - OSX:
git clone https://github.com/gerardroche/sublime-phpck.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/PHP Completions Kit - Windows:
git clone https://github.com/gerardroche/sublime-phpck.git %APPDATA%\Sublime/ Text/ 3/Packages/PHP Completions Kit
Usage
| OS X | Windows | Linux | Description |
|---|---|---|---|
Ctrl+Space |
Ctrl+Space |
Alt+/ |
Activate completions |
Settings
| Setting | Default | Description |
|---|---|---|
auto_complete |
true |
Enable auto complete to be triggered automatically when typing. |
auto_complete_commit_on_tab |
false |
By default, auto complete will commit the current completion on enter. This setting can be used to make it complete on tab instead. Completing on tab is generally a superior option, as it removes ambiguity between committing the completion and inserting a newline. |
auto_complete_with_fields |
false |
Controls if auto complete is shown when snippet fields are active. Only relevant if auto_complete_commit_on_tab is true. |
Menu → Preferences → Settings:
{
"auto_complete_commit_on_tab": true,
"auto_complete_with_fields": true
}
Changelog
See CHANGELOG.md.
License
Released under the GPL-3.0-or-later License.